package com.ljm.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.ljm.common.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@Component
@FeignClient(value = "nacos-payment", fallback = PaymentServiceException.class)
public interface PaymentService {
    @GetMapping("/consumer/payment/{id}")
  public R paymentid(@PathVariable("id")Long id);
}
